package com.example.mvc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;


/**
 * <p>
 *     查看请求的流量走向:需debug:
 *     {@link jakarta.servlet.Filter}
 *     {@link jakarta.servlet.Servlet}
 * </p>
 */
@ServletComponentScan //@WebFilter @WebServlet 本身不带@Component, 需要这个东西来导入
@SpringBootApplication
public class MvcApplication {

    public static void main(String[] args) {
        SpringApplication.run(MvcApplication.class, args);
    }

}
